{"ast":null,"code":"import _formatMuiErrorMessage from \"./formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n  if (typeof string !== 'string') {\n    throw new Error(process.env.NODE_ENV !== \"production\" ? \"MUI: `capitalize(string)` expects a string argument.\" : _formatMuiErrorMessage(7));\n  }\n  return string.charAt(0).toUpperCase() + string.slice(1);\n}","map":{"version":3,"names":["_formatMuiErrorMessage","capitalize","string","Error","process","env","NODE_ENV","charAt","toUpperCase","slice"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/utils/esm/capitalize.js"],"sourcesContent":["import _formatMuiErrorMessage from \"./formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n  if (typeof string !== 'string') {\n    throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`capitalize(string)\\` expects a string argument.` : _formatMuiErrorMessage(7));\n  }\n\n  return string.charAt(0).toUpperCase() + string.slice(1);\n}"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yBAAyB;AAC5D;AACA;AACA;AACA;AACA,eAAe,SAASC,UAAU,CAACC,MAAM,EAAE;EACzC,IAAI,OAAOA,MAAM,KAAK,QAAQ,EAAE;IAC9B,MAAM,IAAIC,KAAK,CAACC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY,4DAA8DN,sBAAsB,CAAC,CAAC,CAAC,CAAC;EAC/I;EAEA,OAAOE,MAAM,CAACK,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,EAAE,GAAGN,MAAM,CAACO,KAAK,CAAC,CAAC,CAAC;AACzD"},"metadata":{},"sourceType":"module"}